Matthias Clasen [Wed, 26 Oct 2016 18:42:11 +0000 (14:42 -0400)]
Fix widget-factory appearance, a bit
Use margins instead of border-width, for now.
Matthias Clasen [Wed, 26 Oct 2016 18:28:17 +0000 (14:28 -0400)]
color chooser: Fix a problem with show-editor=TRUE
For some reason we end up allocating the colorplane widget
before it is realized, and then never initialize the surface.
Fix this by explicitly doing it on realize.
https://bugzilla.gnome.org/show_bug.cgi?id=773474
Benjamin Otte [Wed, 26 Oct 2016 15:59:33 +0000 (17:59 +0200)]
applicationwindow: Fix issues with measure vfunc transition
Benjamin Otte [Wed, 26 Oct 2016 15:25:30 +0000 (17:25 +0200)]
viewport: Remove pixelcache
With the rework for GSK and queueing of redraws pending, the pixel cache
just gets in the way. So we remove it everywhere.
Emmanuele Bassi [Wed, 26 Oct 2016 15:10:35 +0000 (16:10 +0100)]
build: Update CLEANFILES
We use nodist for gir and typelib files, because we expect them to be
rebuilt.
Emmanuele Bassi [Wed, 26 Oct 2016 14:58:23 +0000 (15:58 +0100)]
build: Beautify the GIR post-processing
Use AM_V_GEN to silence the command line output.
Emmanuele Bassi [Wed, 26 Oct 2016 14:47:29 +0000 (15:47 +0100)]
gsk: Add check on GL_MAX_TEXTURE_SIZE
We should check (once) what's the maximum GL texture size and then use
that size to check when we create any GL texture, to avoid errors.
Matthias Clasen [Wed, 26 Oct 2016 14:45:04 +0000 (10:45 -0400)]
Fix the build
Copy-paste error.
Matthias Clasen [Wed, 26 Oct 2016 10:21:39 +0000 (06:21 -0400)]
GdkWindow: Use the seat to enumerate devices
GdkDeviceManager is going away.
Matthias Clasen [Wed, 26 Oct 2016 00:38:38 +0000 (20:38 -0400)]
quartz: Stop using gdk_device_manager_list_devices
The function has been deprecated.
Matthias Clasen [Wed, 26 Oct 2016 00:38:05 +0000 (20:38 -0400)]
x11: Stop using gdk_device_manager_list_devices
The function has been deprecated.
Matthias Clasen [Wed, 26 Oct 2016 00:37:35 +0000 (20:37 -0400)]
broadway: Stop using gdk_device_manager_list_devices
The function is deprecated.
Alexander Larsson [Mon, 17 Oct 2016 13:07:57 +0000 (15:07 +0200)]
Make gdk.la and gsk.la a noninst helper library
This merged gtk, gdk and gsk into one library, making it possible to
have internal private APIs between gtk them, as well as producing more
efficient code.
https://bugzilla.gnome.org/show_bug.cgi?id=773100
Benjamin Otte [Tue, 18 Oct 2016 01:49:09 +0000 (03:49 +0200)]
widget: Improve early exit checks on queue_draw()
(1) We don't need to check for realized when we check for mapped right
below.
(2) Empty regions don't need to be drawn.
Jaime Velasco Juan [Mon, 17 Oct 2016 13:33:47 +0000 (14:33 +0100)]
win32 theme: Fix tooltip borders
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Fri, 14 Oct 2016 13:13:09 +0000 (14:13 +0100)]
win32 theme: Fix combobox
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Fri, 14 Oct 2016 11:16:57 +0000 (12:16 +0100)]
win32 theme: Fix column headers
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Fri, 14 Oct 2016 09:49:55 +0000 (10:49 +0100)]
win32 theme: Fix popup window decorations
Windows such as combobox's popup were using toplevel window's borders
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Fri, 14 Oct 2016 08:47:11 +0000 (09:47 +0100)]
gtkwin32theme: delete #if 0 code
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Thu, 13 Oct 2016 11:50:51 +0000 (12:50 +0100)]
win32 theme: Fix scale widget
It was invisible before.
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Fri, 14 Oct 2016 08:24:13 +0000 (09:24 +0100)]
win32 theme: No need to create a DC for GetThemePartSize
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Fri, 14 Oct 2016 08:18:46 +0000 (09:18 +0100)]
win32 theme: use TS_TRUE in GetThemePartSize
Several styles return a size of 0x0px when using TS_DRAW, as
we don't pass a RECT to draw into.
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Thu, 13 Oct 2016 11:38:05 +0000 (12:38 +0100)]
win32 theme: Fix scrollbars
The fix is only partial, when both scrollbars are visible their ends
overlap.
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Thu, 13 Oct 2016 11:27:43 +0000 (12:27 +0100)]
Fix CSS warnings in win32 theme
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Jaime Velasco Juan [Thu, 13 Oct 2016 11:26:09 +0000 (12:26 +0100)]
Fix tiny fonts in win32 theme
broken since
df08fc91... (css: always get default font size in pixels)
https://bugzilla.gnome.org/show_bug.cgi?id=773221
Sébastien Wilmet [Wed, 26 Oct 2016 13:20:25 +0000 (15:20 +0200)]
docs: fix copy/paste errors in the docs of GtkScrolledWindow
Trivial commit.
Sébastien Wilmet [Wed, 26 Oct 2016 12:11:57 +0000 (14:11 +0200)]
docs: update section file for GtkScrolledWindow
Trivial commit.
- More logical ordering (re-group related things).
- Add missing functions: max_content_width/height.
Chun-wei Fan [Wed, 26 Oct 2016 08:36:03 +0000 (16:36 +0800)]
gdk/win32/gdkevents-win32.c: Avoid gdk_device_manager_get_core_pointer()
This function has been removed, so replace it with gdk_seat_get_pointer().
https://bugzilla.gnome.org/show_bug.cgi?id=773299
Chun-wei Fan [Wed, 26 Oct 2016 10:28:50 +0000 (18:28 +0800)]
demos: Fix 'make install'
We need to change gtk-update-icon-cache to gtk4-update-icon-cache, as that tool
has been renamed.
Chun-wei Fan [Wed, 26 Oct 2016 10:23:38 +0000 (18:23 +0800)]
GSK: Add initial Visual Studio projects
This adds the initial MSVC build items needed to build GSK under Visual Studio,
this is part of it that is required, we need to add items to the property sheets
to generate the code that is generated via glib-mkenums and glib-compile-resources.
This set includes, with the autotools scripts for the complete:
-GSK project files, which is integrated into the gtk+-4.sln.
-The NMake snippets to build the introspection files for GSK.
-The .bat files to call glib-mkenums to generate the enumeration sources.
Matthias Clasen [Wed, 26 Oct 2016 09:13:52 +0000 (05:13 -0400)]
Drop x11-specific code from the GTK+ dnd code
We were using passive grabs to listen for some individual
keys. Nowadays, the managed dnd code in the x11 backend
does the same.
Chun-wei Fan [Wed, 26 Oct 2016 05:42:43 +0000 (13:42 +0800)]
MSVC builds: Support MSVC 2013 and later
We now need C99 features from the compiler which are only supported by
Visual Studio 2013 and later, so drop the MSVC 2008~2012 projects, and make
the baseline supported Visual Studio version be 2013. Update the build files
as a result.
Chun-wei Fan [Wed, 26 Oct 2016 05:22:48 +0000 (13:22 +0800)]
build/Makefile.msvcproj: Add rules for MSVC 2013 to be baseline version
GTK+-3.89.0 and later will require C99 features that is only supported on
Visual Studio 2013 and later, so prepare build/Makefile.msvcproj for this.
We still keep the 2008~2010 stuff here as this strives to be a shared module,
and there are projects using this that still supports building on pre-2013
Visual Studio.
Chun-wei Fan [Wed, 19 Oct 2016 10:46:59 +0000 (18:46 +0800)]
Remove gtk4-install.props's during re-generation
This is to ensure the changes in the generated
build/win32/vs10/gtk4-install.props are applied in
build/win32/vs[11|12|14] as well.
Rico Tzschichholz [Wed, 26 Oct 2016 08:12:58 +0000 (10:12 +0200)]
visual: Remove deprecated API
Rico Tzschichholz [Wed, 26 Oct 2016 08:06:23 +0000 (10:06 +0200)]
Remove deprecated gdk_display_open_default_libgtk_only
Matthias Clasen [Wed, 26 Oct 2016 01:46:14 +0000 (21:46 -0400)]
Fix the docs build after offscreen window removal
Matthias Clasen [Wed, 26 Oct 2016 01:24:37 +0000 (21:24 -0400)]
Revert "Remove gdk_device_grab/ungrab from the API"
This reverts commit
efc37d08556ed8516442a18a67e3035f13cf05a7.
Turns out we need to clean up the dnd code some more, first.
Matthias Clasen [Wed, 26 Oct 2016 01:06:25 +0000 (21:06 -0400)]
Drop the deprecated gdk_device_manager_get_client_pointer
Matthias Clasen [Wed, 26 Oct 2016 00:03:34 +0000 (20:03 -0400)]
Remove gdk_device_grab/ungrab from the API
These are still used in a few places internally,
so make them private.
Matthias Clasen [Tue, 25 Oct 2016 23:51:24 +0000 (19:51 -0400)]
Drop GDK_MULTIDEVICE_SAFE from the docs
All the non-multidevice safe API was deprecated and has been
dropped now.
Matthias Clasen [Tue, 25 Oct 2016 23:45:48 +0000 (19:45 -0400)]
Remove deprecated gdk_window_get_pointer
Matthias Clasen [Tue, 25 Oct 2016 23:31:24 +0000 (19:31 -0400)]
Remove some more deprecated display API
gdk_display_get_pointer, gdk_display_get_window_at_pointer and
gdk_display_warp_pointer have long been deprecated.
Matthias Clasen [Tue, 25 Oct 2016 20:04:01 +0000 (16:04 -0400)]
Remove deprecated gdk_display_list_devices
Matthias Clasen [Tue, 25 Oct 2016 20:02:07 +0000 (16:02 -0400)]
Remove deprecated GDK_DISPLAY_OBJECT macro
Matthias Clasen [Tue, 25 Oct 2016 20:01:50 +0000 (16:01 -0400)]
Remove the last uses of GDK_DISPLAY_OBJECT
This is an obsolete macro.
Matthias Clasen [Tue, 25 Oct 2016 19:56:52 +0000 (15:56 -0400)]
Remove deprecated display ungrab functions
Matthias Clasen [Tue, 25 Oct 2016 19:52:57 +0000 (15:52 -0400)]
Remove deprecated gdk_app_launch_context_set_display
Matthias Clasen [Tue, 25 Oct 2016 19:35:44 +0000 (15:35 -0400)]
Drop deprecated gdk_display_get_screen
Matthias Clasen [Tue, 25 Oct 2016 19:31:55 +0000 (15:31 -0400)]
Remove an unused function
This function is no longer used, now that offscreen windows are gone.
Matthias Clasen [Tue, 25 Oct 2016 19:27:42 +0000 (15:27 -0400)]
Remove deprecated gdk_app_launch_context_new
Matthias Clasen [Tue, 25 Oct 2016 19:21:46 +0000 (15:21 -0400)]
Remove deprecated gdk_display_get_n_screens
Felix Riemann [Tue, 25 Oct 2016 13:43:34 +0000 (15:43 +0200)]
GtkShortcutType: Fix typos in developer documentation
https://bugzilla.gnome.org/show_bug.cgi?id=773479
Alexander Larsson [Tue, 25 Oct 2016 07:54:37 +0000 (09:54 +0200)]
Drop support for offscreen GdkWindows
These complicate a lot of GdkWindow internals to implement features
that not a lot of apps use, and will be better achieved using gsk.
So, we just drop it all.
Rico Tzschichholz [Mon, 24 Oct 2016 10:16:34 +0000 (12:16 +0200)]
gdkwindow: Remove deprecated API
Rico Tzschichholz [Mon, 24 Oct 2016 08:36:55 +0000 (10:36 +0200)]
gdk: Remove deprecated gdk_cairo_set_source_color
Rico Tzschichholz [Mon, 24 Oct 2016 08:31:37 +0000 (10:31 +0200)]
gdk: Remove deprecated gdk_add_option_entries_libgtk_only and gdk_pre_parse_libgtk_only
Rico Tzschichholz [Mon, 24 Oct 2016 08:26:03 +0000 (10:26 +0200)]
gdk: Remove deprecated gdk_threads_set_lock_functions
Rico Tzschichholz [Mon, 24 Oct 2016 08:21:49 +0000 (10:21 +0200)]
gdk: Remove deprecated gdk_get_display
Rico Tzschichholz [Mon, 24 Oct 2016 08:13:14 +0000 (10:13 +0200)]
gdk: Remove deprecated {keyboard,pointer}_{grab,ungrab} API
Rico Tzschichholz [Mon, 24 Oct 2016 07:18:53 +0000 (09:18 +0200)]
cursor: Remove deprecated API
Rico Tzschichholz [Mon, 24 Oct 2016 07:07:32 +0000 (09:07 +0200)]
textiter: Remove deprecated gtk_text_iter_begins_tag
Rico Tzschichholz [Sun, 23 Oct 2016 18:06:33 +0000 (20:06 +0200)]
gtk: Update path references from gtk-3.0 to gtk-4.0
Charles Monzat [Sun, 23 Oct 2016 18:09:50 +0000 (18:09 +0000)]
Update French translation
Rico Tzschichholz [Sun, 23 Oct 2016 16:46:24 +0000 (18:46 +0200)]
gtkplacessidebar: Remove deprecated "show-other-locations" signal
Rico Tzschichholz [Sun, 23 Oct 2016 16:34:49 +0000 (18:34 +0200)]
docs: Follow removal of GtkAction and GtkActivatable
Rico Tzschichholz [Sun, 23 Oct 2016 17:10:06 +0000 (19:10 +0200)]
cellrenderertoggle: Fix compile warnings
Rico Tzschichholz [Sun, 23 Oct 2016 17:09:27 +0000 (19:09 +0200)]
accessible: Fix compile warnings
Rico Tzschichholz [Sun, 23 Oct 2016 17:08:27 +0000 (19:08 +0200)]
treeview: Remove stray property enum-entry
Rico Tzschichholz [Sun, 23 Oct 2016 15:50:02 +0000 (17:50 +0200)]
treeview: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 15:39:31 +0000 (17:39 +0200)]
cellrenderertoggle: Remove deprecated indicator-size property
Rico Tzschichholz [Sun, 23 Oct 2016 15:26:37 +0000 (17:26 +0200)]
stylecontext: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 15:13:14 +0000 (17:13 +0200)]
gtkplacessidebar: Remove deprecated "show-connect-to-server"
Rico Tzschichholz [Sun, 23 Oct 2016 15:05:25 +0000 (17:05 +0200)]
Remove deprecated gtk_im_multicontext_append_menuitems
Rico Tzschichholz [Sun, 23 Oct 2016 15:02:29 +0000 (17:02 +0200)]
testutils: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 14:56:18 +0000 (16:56 +0200)]
Remove deprecated GTK_RELIEF_HALF
Rico Tzschichholz [Sun, 23 Oct 2016 11:12:00 +0000 (13:12 +0200)]
quartz: Remove stock API usage
Rico Tzschichholz [Sun, 23 Oct 2016 11:01:52 +0000 (13:01 +0200)]
Remove stray "stock" references
Rico Tzschichholz [Sun, 23 Oct 2016 10:52:00 +0000 (12:52 +0200)]
Removed deprecated GtkIM*Style enums
Rico Tzschichholz [Sun, 23 Oct 2016 10:42:52 +0000 (12:42 +0200)]
radiotoolbutton: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 10:38:31 +0000 (12:38 +0200)]
layout: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 08:45:13 +0000 (10:45 +0200)]
iconsource: Remove stray reference
Rico Tzschichholz [Sun, 23 Oct 2016 08:40:04 +0000 (10:40 +0200)]
iconset: Remove stray references
Rico Tzschichholz [Sun, 23 Oct 2016 08:26:56 +0000 (10:26 +0200)]
assistant: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 08:12:49 +0000 (10:12 +0200)]
accessible: Drop deprecated connect_widget_destroyed
Timm Bäder [Sat, 22 Oct 2016 19:47:12 +0000 (21:47 +0200)]
colorbutton: Don't notify nonexistent properties
Timm Bäder [Sat, 22 Oct 2016 19:40:04 +0000 (21:40 +0200)]
widget: Add docs for ::measure
Timm Bäder [Sat, 22 Oct 2016 19:02:34 +0000 (21:02 +0200)]
button: Add Since annotations to icon-name setter/getter
Timm Bäder [Sat, 22 Oct 2016 17:40:57 +0000 (19:40 +0200)]
widget: Really remove get_preferred_xxx vfuncs
Timm Bäder [Sat, 22 Oct 2016 17:36:58 +0000 (19:36 +0200)]
expander: Remove spacing property
Timm Bäder [Sat, 22 Oct 2016 17:32:45 +0000 (19:32 +0200)]
toolbar: Remove GtkToolbarSpaceStyle
Timm Bäder [Sat, 22 Oct 2016 17:32:25 +0000 (19:32 +0200)]
cellrendererpixbuf: Remove :follow-state
Timm Bäder [Sat, 22 Oct 2016 17:29:36 +0000 (19:29 +0200)]
remove GTK_DEBUG_PLUGSOCKET
Both GtkPlug and GtkSocket are gone so this doesn't make a lot of sense
anymore.
Timm Bäder [Sat, 22 Oct 2016 15:25:57 +0000 (17:25 +0200)]
icontheme: Remove deprecated API
Timm Bäder [Sat, 22 Oct 2016 15:01:37 +0000 (17:01 +0200)]
toolpalette: Remove deprecated API
Timm Bäder [Sat, 22 Oct 2016 14:06:14 +0000 (16:06 +0200)]
widget: Use ::measure vfunc to measure size
Add a new ::measure vfunc similar to GtkCssGadget's that widget
implementations have to override instead of the old get_preferred_width,
get_preferred_height, get_preferred_width_for_height,
get_preferred_height_for_width and
get_preferred_height_and_baseline_for_width.
Timm Bäder [Sat, 22 Oct 2016 14:56:49 +0000 (16:56 +0200)]
textview: Remove deprecated GtkScrollable API
Timm Bäder [Sat, 22 Oct 2016 14:49:42 +0000 (16:49 +0200)]
css: Stop parsing GdkColor values
Timm Bäder [Sat, 22 Oct 2016 14:41:12 +0000 (16:41 +0200)]
paned: Don't check handle-size style property
Timm Bäder [Sat, 22 Oct 2016 07:13:52 +0000 (09:13 +0200)]
Remove gtk_cell_view_get_size_of_row